package com.example.zrdemo1.utils;

import java.text.SimpleDateFormat;
import java.util.Date;


public class DateInfo {


    public static String getTime(){

        Date date = new Date();
        SimpleDateFormat dateFormat= new SimpleDateFormat("yyyy-MM-dd :hh:mm:ss");

        return dateFormat.format(date);

    }
}
